#ifndef __error_codeRES_H__
#define __error_codeRES_H__

#define ECODE_SUC  0
#define ECODE_JOIN_NOT_ENOUFG_GOLD  1
#define ECODE_JOIN_NOT_AUTHENTICATE  2
#define ECODE_JOIN_ERROR_SESSION  3
#define ECODE_JOIN_ALREADY_PLAYING  4
#define ECODE_JOIN_NOT_ENOUGH_LEVEL  5
#define ECODE_JOIN_NOT_ENOUGH_TICKET  6
#define ECODE_JOIN_NOT_ENOUGH_YUANBAO  7
#define ECODE_JOIN_GAME_PLAYING  8
#define ECODE_LEFT_GAME_PLAYING  9
#define ECODE_JOIN_PLAYER_FULL  10
#define ECODE_JOIN_INVAID_PLAYER  11
#define ECODE_ILLEGAL_OPER  12
#define ECODE_LEAVE_ALREADY  13
#define ECODE_ORDER_ALREADY  14
#define ECODE_SHOT_NOT_ENOUGH_BULLET  15
#define ECODE_SHOT_ALREADY  16
#define ECODE_REWARD_MESSAGE  17
#define ECODE_MATCH_EXCEPTION  18
#define AUDITION_STAGE_FORMAT  19
#define RACE_STAGE_FORMAT  20
#define RACE_WAIT  21
#define RACE_RISE  22
#define RACE_PASS  23
#define RACE_REPORT_RESULT  24
#define AUDITION_REPORT_RESULT  25
#define RACE_GAMEOVER  26
#define AUDITION_STATUS  27
#define MATCH_PASS  28
#define AUDITION_PASS  29
#define MATCH_STATUS  30
#define AUDITION_FINISH  31
#define MATCH_RANK  32
#define SIGN_TIME_FMT  33
#define DISABLE_SHOOT  34
#define ECODE_ERROR_PWD  35
#define ECODE_ERROR_NOT_FOUND  36
#define TAX_FMT_MSG  37
#define OPERA_WARN  38
#define DISABLE_WARN  39
#define ECODE_LOWER_LEVEL  40
#define ECODE_HIGH_LEVEL  41
#define QUIT_GAME_HITE_FMT  42
#define QUIT_RACE_HITE_FMT  43
#define QUIT_DISABLE  44
#define AUDITION_PASS_HINT  45
#define AUDITION_RISE_HINT  46
#define NUMBER_RISE  47
#define FINISH_RISE  48
#define ECODE_RACE_START  49
#define ECODE_NO_SIGN  50
#define ECODE_ALREADY_SIGN  51
#define ECODE_NOT_ENOUGH_CONDI  52
#define ECODE_NOT_RECH_TIME  53
#define ECODE_NOT_ENOUGH_PROP  54
#define ECODE_NOT_ENOUGH_COIN  55
#define ECODE_NOT_ENOUGH_LEVEL  56
#define NOTIFY_CANCAL_RACE  57
#define RACE_STATUS  58
#define RACE_RANK  59
#define TEAM_NOT_JOIN  60
#define TEAM_SCORE_ENGHTH  61

extern const unsigned char error_code_Strings[];
extern const unsigned short error_code_Strings_Offset[];

#ifdef __cplusplus
extern "C"{
#endif

#define ERROR_CODE_LOADSTR(strID)\
		((char*)(error_code_Strings + error_code_Strings_Offset[strID]))


#ifdef __cplusplus
}
#endif

#endif